package org.homerepair

class Job {
	
	def belongsTo = ClientUser
	
	static hasMany = [rooms:Room]
	
	//ClientUser clientUser
	
	String title
	String mainCategory
	
    static constraints = {
		title blank:false
		mainCategory inList:['Home Interior', 'Home Exterior', 'Lawn', 'Pool/Hot Tub']
		
    }
	
	String toString()
	{
		title
	}
}
